$OpenBSD: patch-configure,v 1.11 2015/01/21 02:26:00 bcallah Exp $
--- configure.orig	Mon Jan 12 00:13:01 2015
+++ configure	Mon Jan 12 00:14:07 2015
@@ -5895,7 +5895,7 @@ elif test $ac_cv_prog_cxx_g = yes; then
   fi
 else
   if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
+    CXXFLAGS=
   else
     CXXFLAGS=
   fi
@@ -14232,14 +14232,6 @@ done
 	  LIBS="$LIBS $freetype_libs"
 	  CPPFLAGS="$freetype_cflags $CPPFLAGS"
 	fi
-	ac_fn_cxx_check_header_mongrel "$LINENO" "config/ftheader.h" "ac_cv_header_config_ftheader_h" "$ac_includes_default"
-if test "x$ac_cv_header_config_ftheader_h" = xyes; then :
-
-else
-  as_fn_error $? "\"ftheader.h not found\"" "$LINENO" 5
-fi
-
-
 
 	# Check for Xft headers
 	xft_config=''
